<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[id]" value="{$row.id}">
    <div class="form-group">
        <label for="c-gmv" class="control-label col-xs-12 col-sm-2">{:__('月gmv目标')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-gmv" data-rule="required" class="form-control" name="row[gmv]" type="number" value="{$row.gmv|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-new_customer" class="control-label col-xs-12 col-sm-2">{:__('新开客户目标')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-new_customer" data-rule="required" class="form-control" name="row[new_customer]" type="number" value="{$row.new_customer|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-order_count" class="control-label col-xs-12 col-sm-2">{:__('订单目标')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-order_count" data-rule="required" class="form-control" name="row[order_count]" type="number" value="{$row.order_count|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-rebuy_count" class="control-label col-xs-12 col-sm-2">{:__('复购目标')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-rebuy_count" data-rule="required" class="form-control" name="row[rebuy_count]" type="number" value="{$row.rebuy_count|htmlentities}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
